package nl.hr.cmi.opleiding.controller;

import java.util.ArrayList;

import nl.hr.cmi.opleiding.models.ShowcaseAppItem;

public class ShowcaseManager {

	private ArrayList<ShowcaseAppItem> apps;

	public ArrayList<ShowcaseAppItem> getApps() {
		return apps;
	}

	public void setApps(ArrayList<ShowcaseAppItem> apps) {
		this.apps = apps;
	}

	public ShowcaseManager() {
		getStubApps();
	}

	private void getStubApps() {
		if (apps == null) {
			apps = new ArrayList<ShowcaseAppItem>();
		}
		ShowcaseAppItem sa = new ShowcaseAppItem(1, "colorFinder2",
				"because inspiration can't wait...", "colorfinder.png",
				"<iframe class='youtube-player' type='text/html' width='640' height='385' src='youtube.com/embed/UhQsh6ciXuc'; frameborder='0'/>");
		apps.add(sa);

	}

}
